package com.h2cloud.aspect.cglibAop;

import org.springframework.stereotype.Component;

import java.time.ZoneId;

/**
 * @author: wulongkai
 * @create: 2022-10-11 14:37
 **/
@Component
public class UserServiceV2 implements iService {

    // 构造方法:
    public UserServiceV2() {
        System.out.println("UserServiceV2(): init...");
        System.out.println("UserServiceV2(): zoneId = " + this.zoneId);
    }

    // public方法:
    public ZoneId getZoneId() {
        return zoneId;
    }

    // public final方法:
    public final ZoneId getFinalZoneId() {
        return zoneId;
    }
}

